<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>

<head>
    <%@include file="/WEB-INF/common/hplus-css.jsp"%>
    <link rel="stylesheet" type="text/css" href="${path}/assets/hplus/css/plugins/webuploader/webuploader.css">
    <link rel="stylesheet" type="text/css" href="${path}/assets/hplus/css/demo/webuploader-demo.css">
    <link href="${path}/assets/hplus/css/style.css?v=4.1.0" rel="stylesheet">
</head>

<body class="gray-bg">
<div class="container-fluid">
    <input id="requestUrl" name="requestUrl"  value="/upload/save" style="display: none;"/>
    <form id="uploadForm">
        <input id="fileDirectory" name="fileDirectory" value="${fileDirectory}" style="display: none;"/>
        <div id="uploader">
            <div class="queueList">
                <div id="dndArea" class="placeholder">
                    <div id="filePicker"></div>
                    <p>或将文件拖到这里，单次最多可选300个</p>
                </div>
            </div>
            <div class="statusBar" style="display:none;">
                <div class="progress">
                    <span class="text">0%</span>
                    <span class="percentage"></span>
                </div><div class="info"></div>
                <div class="btns">
                    <div id="filePicker2"></div><div class="uploadBtn">开始上传</div>
                </div>
            </div>
        </div>
    </form>
</div>
    <%@include file="/WEB-INF/common/hplus-js.jsp"%>
    <!-- 自定义js -->
    <script src="${path}/assets/hplus/js/content.js?v=1.0.0"></script>
    <!-- Web Uploader -->
    <script type="text/javascript">
        // 添加全局站点信息
        var BASE_URL = '${path}/assets/hplus/js/plugins/webuploader';
    </script>
    <script src="${path}/assets/hplus/js/plugins/webuploader/webuploader.min.js"></script>
    <%--<script src="${path}/plugins/webuploader/webuploader.js" type="text/javascript"></script>--%>
    <script src="${path}/assets/js/plugins/webuploader/upload.js" type="text/javascript"></script>

</body>

</html>
